<div ng-controller="WebsiteCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/website/list">{{'网站配置'| translate}}</a></li>
        <li class="active">
            {{"List"|translate}}
            <a href="#/website/add"  class="sui-btn btn-primary">新建</a>
        </li>
    </ul>
    <table class="sui-table table-bordered" ng-show="lists">
        <thead>
            <tr>
                <th>{{'类型'|translate}}</th>
                <th>{{'组件内容'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in lists">
                <td><webiste-type ng-model="list.type" stype='1'></webiste-type></td>
                <td>{{list.data}}</td>
                <td style="width:80px;">
                   <a href="#/website/add?w_id={{list.w_id}}"  class="sui-btn btn-primary">编辑</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="{{pageNo}}" page-size="pageSize" total="total_count" get-data="getcustomelist(pageNo)"></pager>
    <!-- 分页end -->
    
</div>